package com.wwinsoft.oa.dao.terminal;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.wwinsoft.modules.orm.Page;
import com.wwinsoft.modules.orm.hibernate.HibernateDao;
import com.wwinsoft.modules.orm.mybatis.MyBatisDao;
import com.wwinsoft.oa.entity.terminal.TerminalMaintain;
import com.wwinsoft.oa.pojo.terminal.TerminalMaintainBean;

/**
 * @author: Tim Chen
 * @since 1.0
 */
@Component
public class TerminalMaintainQueryDao extends MyBatisDao {

    public Page<TerminalMaintainBean>  searchTermialMaintainPage(Page<TerminalMaintainBean> page , Object filter) {
           return selectPage(page, "Terminal.selectTerminalPage" ,filter) ;
    }

    public List<TerminalMaintainBean> searchTermialMaintain(Object filter) {
           return getSqlSession().selectList("Terminal.selectTerminalPage" ,filter) ;
    }
}
